package com.nowcoder.community.event;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class LikeEvent extends Event{
    private int likeUserId;
    private int userIdOfEntity;
    private int entityId;
    private int entityType;

    public LikeEvent setLikeUserId(int likeUserId) {
        this.likeUserId = likeUserId;
        return this;
    }

    public LikeEvent setUserIdOfEntity(int userIdOfEntity) {
        this.userIdOfEntity = userIdOfEntity;
        return this;
    }

    public LikeEvent setEntityId(int entityId) {
        this.entityId = entityId;
        return this;
    }

    public LikeEvent setEntityType(int entityType) {
        this.entityType = entityType;
        return this;
    }
}
